var robot = require("robotjs");

//Mouse down at 10, 10 and then drag to 100, 100 and release.
robot.moveMouse(20, 30);

robot.mouseToggle("down");
robot.mouseToggle("up");

robot.mouseToggle("down");
robot.mouseToggle("up");
